package edu.itcs6112.za.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import edu.itcs6112.za.domain.Item;

public interface ItemService {

	public List<Item> findAll();
	public Item findById(Long id);
	public Item save(Item item); 
	public Page<Item> findAllByPage(Pageable pageable);
	public List<Item> findByType(String itemType);
	public List<Item> findBySearchString(String searchString);

}
